package com.alvis.exam.repository;

import com.alvis.exam.domain.TClass;
import com.alvis.exam.domain.TStudent;
import com.alvis.exam.domain.TStudentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TStudentMapper extends BaseMapper<TStudent>{
    long countByExample(TStudentExample example);

    int deleteByExample(TStudentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TStudent record);

    int insertSelective(TStudent record);

    TStudent selectOneByExample(TStudentExample example);

    TStudent selectOneByExampleSelective(@Param("example") TStudentExample example, @Param("selective") TStudent.Column ... selective);

    List<TStudent> selectByExampleSelective(@Param("example") TStudentExample example, @Param("selective") TStudent.Column ... selective);

    List<TStudent> selectByExample(TStudentExample example);

    TStudent selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") TStudent.Column ... selective);

    TStudent selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TStudent record, @Param("example") TStudentExample example);

    int updateByExample(@Param("record") TStudent record, @Param("example") TStudentExample example);

    int updateByPrimaryKeySelective(TStudent record);

    int updateByPrimaryKey(TStudent record);

    void insertOrUpdateBatch(@Param("list") List<TStudent> list);

    List<TClass> getAllClass();
}
